home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Libraries / Effect library / Demo ƒ / Demo code ƒ / program globals.h < prev   
Encoding:
C/C++ Source or Header  |  1994-01-12  |  1.4 KB  |  53 lines  |  [TEXT/KAHL]

  1. /**********************************************************************\
  2.  
  3. File:        program globals.c
  4.  
  5. Purpose:    This is the header file for all the program-specific
  6.             global variables, #defines, enums, and structs.
  7.  
  8.  
  9. MSG Demo -- graphic effects demonstration program
  10. Copyright (C) 1992-4 Mark Pilgrim & Dave Blumenthal
  11.  
  12. This program is free software; you can redistribute it and/or modify
  13. it under the terms of the GNU General Public License as published by
  14. the Free Software Foundation; either version 2 of the License, or
  15. (at your option) any later version.
  16.  
  17. This program is distributed in the hope that it will be useful,
  18. but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  20. GNU General Public License for more details.
  21.  
  22. You should have received a copy of the GNU General Public License
  23. along with this program in a file named "GNU General Public License".
  24. If not, write to the Free Software Foundation, 675 Mass Ave,
  25. Cambridge, MA 02139, USA.
  26.  
  27. \**********************************************************************/
  28.  
  29. #define CREATOR        'MSG0'
  30. #define APPLICATION_NAME "\pMSG Demo"
  31.  
  32. enum
  33. {
  34.     kPic1ColorID=200,
  35.     kPic2ColorID=201,
  36.     kPic1BWID=202,
  37.     kPic2BWID=203
  38. };
  39.  
  40. enum
  41. {
  42.     kEffectsOnly=0,
  43.     kFadesPlusEffects,
  44.     kFadesPlusReverseEffects,
  45.     kFullScreen
  46. };
  47.  
  48. extern    unsigned char    gWhichPict;
  49. extern    unsigned char    gIsReversed;
  50. extern    int                gWhichWipe;
  51. extern    int                gLastWipe;
  52. extern    int                gWipeStatus;
  53.